<?  
$Menu = new Menu();
Loader::includeModuleModels('news');
$n = new News();

echo "<pre>";
//print_r($Menu->formNavHierarchy($Menu->buildHierarchy()));
echo "</pre>";
//return;

$navigation = new Zend_Navigation($Menu->formNavHierarchy($Menu->buildHierarchy()));
//$navigation = new Zend_Navigation($n->getMenu(array()));
$this->navigation($navigation);

?>
<h3>Меню</h3>

<?php  

//print_r($n->getMenu(array()));

	 echo $this->navigation()->menu()->setUlClass('sf-menu');

 

//print_r($Menu->buildHierarchy());
//echo "---------------------------------------------------------\n";


?>
<pre>
<?php

//print_r($Menu->formNavHierarchy($Menu->buildHierarchy()));
echo serialize(array('link'=>'http://google.com'));
?>
</pre>

